package com.kancy.demo.springbootproguard.service.impl;

import com.kancy.demo.springbootproguard.entity.Hello;
import com.kancy.demo.springbootproguard.service.HelloService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * HelloServiceImpl
 *
 * @author kancy
 * @date 2020/1/25 12:09
 */
@Slf4j
@Service
public class HelloServiceImpl implements HelloService {
    @Override
    public void say() {
        Hello hello = new Hello();
        hello.setMessage("Hello World");
        log.info(hello.getMessage());
    }

    /**
     * bean初始化
     */
    public void init(){

    }

    /**
     * bean销毁
     */
    public void destroy(){

    }
}
